package com.prs.crm.domain.warning;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * @author JohnLan
 * @time：2012-11-21
 * @version 1.0 类说明 提醒设置
 */
@Entity
@Table(name = "oa_warning")
public class Warn extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	/**
	 * 预警类型
	 */
	private String warnstyle;

	/**
	 * 预警状态 用于判断是否有预警数据
	 */

	private String warnstate;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getWarnstyle() {
		return warnstyle;
	}

	public void setWarnstyle(String warnstyle) {
		this.warnstyle = warnstyle;
	}

	public String getWarnstate() {
		return warnstate;
	}

	public void setWarnstate(String warnstate) {
		this.warnstate = warnstate;
	}
	
	

}
